package com.guguskins.back.service;

import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.*;


@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
public class GuTurantable {
    @Autowired
private GuTurntableService guTurntableService;
    public void test(Map<String, Integer> map){

    }
   @Test
   public void test()
   {
//  Integer a= guTurntableService.luckyDrawLimit(3L,new BigDecimal(300));
//       System.out.println(a+"llllllllllllllllllllll");
       Timestamp timestamp=Timestamp.valueOf("2021-08-06 09:55:13");
//       timestamp.setHours(6);
       long t=timestamp.getTime();
       System.out.println(t);
   }
   }